package com.bjc;

import com.bjc.www.TestDemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2024-05-12
 * Time: 17:40
 */
/*class Student{
    //普通成员变量
    private String name;
    private int age;
    //静态成员变量
    public static String classRoom;

    //实例代码块,用于初始化普通成员变量
    {
        this.name = "小明";
        this.age = 18;
        System.out.println("实例化代码块");
    }

    //普通成员方法
    public void show(){
        System.out.println("姓名："+this.name+"年龄："+this.age);
    }

    //构造方法
    public Student(){
        System.out.println("定义一个不带参数的构造方法");
    }
}*/
public class TestDemo02 {
    public static void main(String[] args) {
        TestDemo testDemo = new TestDemo();
        /*System.out.println(testDemo.fun);*/
    }
}
